<?php

namespace app\common\enum\user;

use MyCLabs\Enum\Enum;

/**
 * 提现状态枚举类
 */
class UserCashStatusEnum extends Enum
{
    // 微信
    const WAIT = 10;    //待审核
    const PASS = 20;    //审核通过
    const REFUSE = 30;  //审核不通过
    const REFUND = 40;  //已打款
    const RECEIVED = 50; //已收款
    const CANCEL = 60;  //超时未领取或主动取消

    /**
     * 获取订单类型值
     */
    public static function data()
    {
        return [
            self::WAIT => [
                'name' => '待审核',
                'value' => self::WAIT,
            ],
            self::PASS => [
                'name' => '审核通过',
                'value' => self::PASS,
            ],
            self::REFUSE => [
                'name' => '审核不通过',
                'value' => self::REFUSE,
            ],
            self::REFUND => [
                'name' => '已打款',
                'value' => self::REFUND,
            ],
            self::RECEIVED => [
                'name' => '已收款',
                'value' => self::RECEIVED,
            ],
            self::CANCEL => [
                'name' => '已取消',
                'value' => self::CANCEL,
            ],
        ];
    }

}